﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="picView.aspx.cs" Inherits="picView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>图片查看</title>
</head>
<body onload="test()" >
    <form id="form1" runat="server">
    <div>
    <asp:Literal ID="litPicShow" runat="server"></asp:Literal>
    </div>
    <script>
    function test(){
    var h=document.getElementById("pic1").width;
    document.getElementById("pic1").width=h*2;
    }
    </script>
    <input type="button" onclick="javascript:window.opener=null;window.close();" value=" 关闭窗口 " />
    </form>
</body>
</html>
